package com.kede.api.stand.pub;

import lombok.Data;

/***
 ** @Author:Pr.li
 ** @Description:
 ** @Date: create in 2023/4/20 11:15
 ***/
@Data
public class AreaInfoVo {

    Integer provinceCode;

    Integer cityCode;

    Integer areaCode;

    String provinceName = "";

    String cityName = "";

    String areaName = "";

    /**
     * 详细行政区地址
     */
    String address;

    public AreaInfoVo toAddress(){
        StringBuilder stringBuilder = new StringBuilder();
        stringBuilder.append(provinceName).append(cityName).append(areaName);
        this.address = stringBuilder.toString();
        return this;
    }
}
